class Simulator {
    void PlaySound(Animal animal) {
        animal.cry();
        System.out.println("这是" + animal.getAnimalName() + "的叫声");
    }
}
